import { TreeDataItem } from "ant-design-vue/es/tree/Tree"
// import * as mars3d from "mars3d"

export let treeData: TreeDataItem[]
// export const eventTarget: mars3d.BaseClass = new mars3d.BaseClass()
// export let map: any
treeData = [
  {
    title: "地形级三维",
    key: "0",
    checkable: false, // 关闭复选框
    children: [
      { title: "天地图影像", key: "101010", checked: true }
      // { title: "天地图影像", key: "TiandituImage" },
      // { title: "高德电子", key: "GaodeMap" },
      // { title: "百度电子", key: "BaiduMap" }
    ]
  },
  {
    title: "城市级三维",
    key: "1",
    checkable: false,
    children: [
      { title: "高新区数据", key: "GaoxinMesh", path: "abcabc" },
      { title: "北斗产业园", key: "BeidouMesh"}
    ]
  },
  {
    title: "部件级三维",
    key: "2",
    checkable: false,
    children: [
      { title: "矢量模型", key: "shiliang" },
      { title: "高压线点云", key: "dianlita" },
      { title: "地下管廊(点云)", key: "dixiaguanlang" },
      { title: "单体化模型", key: "single" },
      // {title: "地下管网(矢量)", key: "undergroundpipe"},
      { title: "管线", key: "pipe" },
      // { title: "黄河堤岸(点云)", key: "huanghelas" },
      { title: "北斗园区传感器", key: "beidouSys" },
      {title:"学校",key:"School"}
    ]
  }
]

// export function onMounted(mapInstance: any) {
//   map = mapInstance // 记录map
// }
